package com.chen.pspms.service;

import com.chen.pspms.entity.Standardizationtable;
import com.chen.pspms.utils.ApplicationException;

import java.util.List;

public interface StandardizationService {
    public Integer save(Standardizationtable standardizationtable) throws ApplicationException;
    public Integer delete(Integer id) throws ApplicationException;
    public Standardizationtable findyById(Integer id) throws ApplicationException;
    public Standardizationtable findyByType(String hazardtype) throws ApplicationException;
    public Integer update(Standardizationtable standardizationtable) throws ApplicationException;
    public List<Standardizationtable> findyAll() throws ApplicationException;
    String getLevel(Double number, Standardizationtable standardizationtable) throws ApplicationException;
}
